package com.xiaobai.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;

// @Configuration
@Component
public class RestTemplateConfig {

    @Bean
    // @LoadBalanced
    public RestTemplate getRestTemplate(){
        return new RestTemplate();
    }


    public Logger.Level getLogger(){
        return  Logger.Level.FULL;
    }
}
